﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Truextend.Common.Data;
using Truextend.Training.Model.Entities;

namespace Truextend.Training.Business.Interfaces
{
    public interface ICourseManager : IRepository<Course>
    {
        IList<Course> GetAllCourses();
        IList<Course> GetAllCoursesByUser(int userId);
        Course GetCourseById(long courseId);
        void AddCourse(Course course);
        void EditCourse(Course course);
        void DeleteCourse(long courseId);
    }
}
